from ronglian_sms_sdk import SmsSDK

def send_message(arg1,arg2):
    accId = '2c94811c855ce725018562ed02d1009e'
    accToken = 'ef1d2cad9e3741e2aed817c05043cee6'
    appId = '2c94811c855ce725018562ed03b500a5'
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = '13878966840'
    datas = ('1234', '2')
    #resp = sdk.sendMessage(tid, mobile, datas)
    resp = sdk.sendMessage(tid, mobile, (arg2, '2'))  # 这里的code 调用 传入的形参arg2
    # print(resp)
    return resp

if __name__ == '__main__':
    send_message()